// Copyright 2012 Google Inc. All Rights Reserved.

package com.google.superlists.servlet;

import com.google.superlists.model.ActionResult;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * An action that merely authorizes the user and nothing more.
 *
 * @author sven@google.com (Sven Mawson)
 */
public class AuthorizationAction extends BaseAction {

  public AuthorizationAction(
      HttpServlet servlet, HttpServletRequest req, HttpServletResponse resp) {
    super(servlet, req, resp);
  }

  @Override
  protected ActionResult handle() {
    // Nothing to do, auth is done by default.
    return null;
  }
}
